#include <stdio.h>
#include "./class/myclass.h"

int main(){
    MyObject *newobj;
    char data[] = "Test data";
    newobj = newobj->classptr->_new(&SubClass);
    newobj->classptr->set_data(newobj, data, sizeof(data));
    printf("%s\n", (char*)(newobj->classptr->get_data(newobj)));
    newobj->classptr->_delete(newobj);
    return 0;
}